package com.Dao;

import javax.swing.*;
import java.lang.ref.Cleaner;
import java.sql.Connection;

public class DaoBase {
    private Connection connection;

    public DaoBase() {
        try {
            this.connection = MariaDataSource.getConnection();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public Connection getConnection()
    {
        return connection;
    }
}
